package com.example.vue.sys.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 菜单实体类
 *
 * @author longdeng
 */
@ApiModel("菜单实体类 - 表")
public class SysMenu {

    /**
     * 菜单编号
     */
    @ApiModelProperty("菜单编号")
    private String menuNo;

    /**
     * 菜单父编号
     */
    @ApiModelProperty("菜单父编号")
    private String pMenuNo;

    /**
     * 菜单描述
     */
    @ApiModelProperty("菜单描述")
    private String menuDesc;

    /**
     * 菜单图标
     */
    @ApiModelProperty("菜单图标")
    private String icon;

    /**
     * 菜单排序号
     */
    @ApiModelProperty("菜单排序号")
    private Long ranknum;

    /**
     * 菜单名称
     */
    @ApiModelProperty("菜单名称")
    private String menuName;

    /**
     * 菜单层级
     */
    @ApiModelProperty("菜单层级")
    private Integer grade;

    /**
     * 菜单类型
     */
    @ApiModelProperty("菜单类型")
    private Integer menuType;

    /**
     * 平台类型 1-WEB端,2-WAP端,3-APP端
     */
    @ApiModelProperty("平台类型 1-WEB端,2-WAP端,3-APP端")
    private Integer fromType;

    /**
     * 请求的url地址
     */
    @ApiModelProperty("请求的url地址")
    private String reqUrl;

    /**
     * 请求的类型信息 GET|POST|DELETE|PUT...
     */
    @ApiModelProperty("请求的类型信息 GET|POST|DELETE|PUT...")
    private int reqType;

    /**
     * 当前菜单的有效性 0-无效，1-有效
     */
    @ApiModelProperty("请求的类型信息 GET|POST|DELETE|PUT...")
    private Integer valid;

    /**
     * 菜单位置 1-顶部,2-左侧
     */
    @ApiModelProperty("菜单位置")
    private Integer location;

    /**
     * 菜单编码
     */
    private String code;

    /**
     * 是否需要被认证 1-认证，0-不认证
     */
    private Integer authentication;

    public Integer getAuthentication() {
        return authentication;
    }

    public void setAuthentication(Integer authentication) {
        this.authentication = authentication;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getLocation() {
        return location;
    }

    public void setLocation(Integer location) {
        this.location = location;
    }

    public Integer getValid() {
        return valid;
    }

    public void setValid(Integer valid) {
        this.valid = valid;
    }

    public SysMenu() {
    }

    public String getMenuNo() {
        return menuNo;
    }

    public void setMenuNo(String menuNo) {
        this.menuNo = menuNo;
    }

    public String getpMenuNo() {
        return pMenuNo;
    }

    public void setpMenuNo(String pMenuNo) {
        this.pMenuNo = pMenuNo;
    }

    public String getMenuDesc() {
        return menuDesc;
    }

    public void setMenuDesc(String menuDesc) {
        this.menuDesc = menuDesc;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Long getRanknum() {
        return ranknum;
    }

    public void setRanknum(Long ranknum) {
        this.ranknum = ranknum;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public Integer getGrade() {
        return grade;
    }

    public void setGrade(Integer grade) {
        this.grade = grade;
    }

    public Integer getMenuType() {
        return menuType;
    }

    public void setMenuType(Integer menuType) {
        this.menuType = menuType;
    }

    public Integer getFromType() {
        return fromType;
    }

    public void setFromType(Integer fromType) {
        this.fromType = fromType;
    }

    public String getReqUrl() {
        return reqUrl;
    }

    public void setReqUrl(String reqUrl) {
        this.reqUrl = reqUrl;
    }

    public int getReqType() {
        return reqType;
    }

    public void setReqType(int reqType) {
        this.reqType = reqType;
    }
}
